#!/usr/bin/env python
#############################################################################
#  Copyright (C) 2007 Boscovich, Maximiliano - mboscovich@gmail.com          #
#                                                                            #
#  This program is free software; you can redistribute it and/or modify      #
#  it under the terms of the GNU General Public License as published by      #
#  the Free Software Foundation; either version 3 of the License, or         #
#  (at your option) any later version. See tht GPL_Licence.txt for details.  #
#                                                                            #
#  This program is distributed in the hope that it will be useful,           #
#  but WITHOUT ANY WARRANTY; without even the implied warranty of            #
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the              #
#  GNU General Public License for more details.                              #
#                                                                            #
##############################################################################

from controller.Main_controller import *
from model.database import *
from model.packages import *
from model.configuration import *

if __name__ == "__main__":
    app = QtGui.QApplication(sys.argv)
    config = configuration()
    db = database(config.DbPath, config.DbName, 'sqlite://')
    del(config)
    ui = Main_controller()
    ui.MainWindow.show()
    sys.exit(app.exec_())
                                            
